Processing of clinical notes in the EHR data collected during routine care